package test;

public class Java extends Teacher {
	public Java(String name, int age, String gender, int yearsOfExp) {
		super(name, age, gender, yearsOfExp);
	}

	public void teach() {
		System.out.println("open eclipse");
	}

	public void speak() {
		super.speak();
	}
}
